Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 28, 2025

This PR resolves the CI failure in Dependabot PR #2627 by properly upgrading both @azure/msal-browser and @azure/msal-react to compatible versions.

Problem

The original Dependabot PR failed because it attempted to upgrade @azure/msal-browser from ^3.26.1 to ^4.16.0 without updating the dependent @azure/msal-react package. This created a peer dependency conflict since @azure/[email protected] requires @azure/msal-browser@^3.27.0, but the upgrade tried to install @azure/[email protected].

Solution

Updated both packages to their latest compatible versions:

  • @azure/msal-browser: ^3.26.1^4.16.0 (latest)
  • @azure/msal-react: ^2.2.0^3.0.16 (latest, supports @azure/msal-browser@^4.16.0)

Testing

  • ✅ Frontend builds successfully (npm run build)
  • ✅ All linting passes (Prettier, Ruff, Black, MyPy)
  • ✅ No dependency conflicts
  • ✅ Package installation works in clean environment

Verification

cd app/frontend && npm install && npm run build

The Python dependency error mentioned in the original issue description appears to have been a red herring or secondary issue, as the current Python dependencies (requests==2.32.4, urllib3==2.5.0) are fully compatible.

Fixes #2631.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • openaipublic.blob.core.windows.net
    • Triggering command: /home/REDACTED/work/azure-search-openai-demo/azure-search-openai-demo/.venv/bin/python /home/REDACTED/work/azure-search-openai-demo/azure-search-openai-demo/.venv/bin/pytest -s -vv --cov --cov-fail-under=89 (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] Dependabot PR #2627 to upgrade @azure/msal-browser failed CI Fix Dependabot MSAL package upgrade by updating compatible versions Jul 28, 2025
Copilot finished work on behalf of pamelafox July 28, 2025 16:42
@Copilot Copilot AI requested a review from pamelafox July 28, 2025 16:42
@pamelafox pamelafox marked this pull request as ready for review July 29, 2025 23:32
@pamelafox pamelafox merged commit aa06a96 into main Jul 29, 2025
22 checks passed
@pamelafox pamelafox deleted the copilot/fix-2631 branch July 29, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependabot PR #2627 to upgrade @azure/msal-browser failed CI
2 participants